/*1000 A+B Problem*/
 /*     1000:A+B Problem
总时间限制: 1000ms 内存限制: 65536kB
描述
Calculate a + b

输入
Two integer a,,b (0 ≤ a,b ≤ 10)
输出
Output a + b
*/
#include <iostream>

using namespace std;

int main( )
{
    cout << "Please input a number between 0 and 10" << endl;
    int a,b;
    cin >> a >> b;
    if( a >= 0 && a<=10 && b >= 0 && b<=10)
        cout << a+b << endl;
    else
        cout <<"Out of range"<< endl;
    return 0;
}

// Accepted
